package ch3;

import java.util.Scanner;

public class Race100 {

	public static void main(String[] args) {
		// 100米赛跑
		Scanner in = new Scanner(System.in);
		System.out.println("请输入100米成绩：");
		double d = in.nextDouble();
		if (d <= 10) {
			System.out.println("恭喜进入决赛");
			System.out.println("请输入性别：");
			String sex = in.next();
			// System.out.println(sex + ">>>>>");
			if (sex.equals("男")) {//// !!!!!
				System.out.println("进入男子组决赛");
			} else {
				System.out.println("进入女子组决赛");
			}
		} else {
			System.out.println("被淘汰了");
		}
	}

}
